//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "IdxCluster.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
IdxCluster::IdxCluster():position(0), 
                         idxValue(0) {};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
IdxCluster::IdxCluster(int positionI, int idxValueI):position(positionI), 
                                                     idxValue(idxValueI) {};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
IdxCluster::IdxCluster(const IdxCluster &idxCluster): position(idxCluster.position), 
                                                      idxValue(idxCluster.idxValue) {};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
IdxCluster::~IdxCluster() {};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
void IdxCluster::Position(int position) { 
  
  if (position > 0) 
    this->position = position; 
  
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
void IdxCluster::IdxValue(int idxValue) { 
  
  this->idxValue = idxValue; 
  
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
int IdxCluster::Position(void) { 
  
  return this->position; 
  
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
int IdxCluster::IdxValue(void) { 
  
  return this->idxValue; 

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
IdxCluster IdxCluster::operator=(const IdxCluster& idxCluster) { 
  
  this->position = idxCluster.position; 
  this->idxValue = idxCluster.idxValue; 
  
  return *this; 

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
